// const letters = ['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','Z','Y','Z']

// let letters = uppercase()
// // 生成26个大字母
// function uppercase () {
//   var str = []
//   for (var i = 65; i < 91; i++) {
//     str.push(String.fromCharCode(i))
//   }
//   return str
// }

const defaultCity = {
  'A-G': [
    {code: '340000', address: '安徽省'},
    {code: '110000', address: '北京市'},
    {code: '500000', address: '重庆市'},
    {code: '350000', address: '福建省'},
    {code: '620000', address: '甘肃省'},
    {code: '440000', address: '广东省'},
    {code: '450000', address: '广西壮族自治区'},
    {code: '520000', address: '贵州省'}],
  'H-K': [
    {code: '460000', address: '海南省'},
    {code: '130000', address: '河北省'},
    {code: '230000', address: '黑龙江省'},
    {code: '410000', address: '河南省'},
    {code: '420000', address: '湖北省'},
    {code: '430000', address: '湖南省'},
    {code: '320000', address: '江苏省'},
    {code: '360000', address: '江西省'},
    {code: '220000', address: '吉林省'}],
  'L-S': [
    {code: '210000', address: '辽宁省'},
    {code: '150000', address: '内蒙古自治区'},
    {code: '640000', address: '宁夏回族自治区'},
    {code: '630000', address: '青海省'},
    {code: '370000', address: '山东省'},
    {code: '310000', address: '上海市'},
    {code: '140000', address: '山西省'},
    {code: '610000', address: '陕西省'},
    {code: '510000', address: '四川省'}],
  'T-Z': [
    {code: '120000', address: '天津市'},
    {code: '650000', address: '新疆维吾尔自治区'},
    {code: '540000', address: '西藏自治区'},
    {code: '530000', address: '云南省'},
    {code: '330000', address: '浙江省'}]
}
const cityCode = {
  110000: {
    110100: '北京市'
  },
  110100: {
    110101: '东城区',
    110102: '西城区',
    110105: '朝阳区',
    110106: '丰台区',
    110107: '石景山区',
    110108: '海淀区',
    110109: '门头沟区',
    110111: '房山区',
    110112: '通州区',
    110113: '顺义区',
    110114: '昌平区',
    110115: '大兴区',
    110116: '怀柔区',
    110117: '平谷区',
    110228: '密云县',
    110229: '延庆县'
  }
}

export {
  // letters,
  defaultCity,
  cityCode
}
